<?php

    //echo $this->Session->flash('auth');

    echo $this->Form->create('Client',array('controller' => 'clients','action' => 'edit'));
    
    echo $this->Form->input('full_name',array(
        'type' => 'text',
        'label' => __('Full Name',true)
    ));
    
    echo $this->Form->input('email',array(
        'type' => 'text',
        'label' => __('Email',true)
    ));
    
    echo $this->Form->input('address',array(
        'type' => 'text',
        'label' =>  __('Address',true)
    ));
    
    echo $this->Form->input('phone',array(
        'type' => 'text',
        'label' =>  __('Phone',true)
    ));
    
    echo $this->Form->input('personal_id_type',array(
        'type' => 'select',
        'options' => $idTypes,
        'label' =>  __('Type',true)
    ));
    
    echo $this->Form->input('personal_id_number',array(
        'type' => 'text',
        'label' =>  __('Serial Number',true)
    ));
  
    echo $this->Form->end('Create');
    echo $this->Form->end('Cancel');

//pr($availableRights);
?>
